<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/metaHead.jsp"%>
	<form:form action="${mvcpath}/save.do" modelAttribute="entity" method="post">
<div class="column full fl">
	<div class="box">
		<h2 class="box-header">联系人</h2>
			<form:hidden path="id" />
			<div class="box-content">
			<div class="forminput">
				<label class="form-label" >联系人姓名</label>
				<form:input path="name" cssClass="form-field half fl" />
				</div>
				
							<div class="forminput">
					<label class="form-label" >性别</label>
						<div class="radiocheck"  class ="fl">
				<input id="sex1" type="radio" value="true" name="sex" <c:if test="${entity.sex}">checked</c:if>/>
				<label class="radio" for="sex1">男</label>
				 <input id="sex2" type="radio" value="false" name="sex" <c:if test="${!entity.sex}">checked</c:if>/>
				<label class="radio" for="sex2">女</label>
				</div>
					</div>
					
					
					<div class="forminput">
					<label class="form-label" >职位</label>
				<form:input path="pisition" cssClass="form-field half fl"   />
					</div>
					
					<div class="forminput">
					<label class="form-label" > 电话</label>
				<form:input path="mophone" cssClass="form-field half fl"   />
					</div>
					<div class="forminput">
					<label class="form-label" > 工作电话</label>
				<form:input path="workPhone" cssClass="form-field half fl" />
					</div>
					<div class="forminput">
					<label class="form-label" >家庭电话</label>
				<form:input path="homePhone" cssClass="form-field half fl" />
					</div>
					<div class="forminput">
					<label class="form-label">办公地址</label>
				<form:input path="workAddress" cssClass="form-field full fl" />
				
					</div>
					<div class="forminput">
					<label class="form-label" >电子邮件</label>
				<form:input path="email" cssClass="form-field half fl" />
					</div>
					
					<div class="forminput">
					<label class="form-label">使用状态</label>
				<div class="radiocheck">
				<input id="status1" type="radio" value="true" name="status" <c:if test="${entity.status}">checked</c:if>/>
				<label class="radio" for="status1">正常</label>
				 <input id="status2" type="radio" value="false" name="status" <c:if test="${!entity.status}">checked</c:if>/>
				<label class="radio" for="status2">停用</label>
		        </div>
		        	</div>
					 
					 
					
					 <input type="hidden" name="contactsInfo.qq" value="123"/>
				<div class="clear"></div>
				<hr />
				<div style="clear: both; height: 36px;">
					<ul style="float: right;">
						<li style="float: left;"><input id="cancel" class="button themed" type="button" value="取 消" name="cancel" /></li>
						<li style="float: left;"><input id="validate"	class="button themed" type="submit" value="保 存" name="submit" /></li>
					</ul>
				</div>
			</div>

	</div>
</div>


<div class="column full fl">
	<div class="box themed_box">
		<h2 class="box-header">联系人</h2>
			<form:hidden path="id" />
			<div class="box-content">
			<div class="forminput">
				<label class="form-label" >联系人姓名</label>
				<form:input path="name" cssClass="form-field half fl" />
				</div>
				
							<div class="forminput">
					<label class="form-label" >性别</label>
						<div class="radiocheck"  class ="fl">
				<input id="sex1" type="radio" value="true" name="sex" <c:if test="${entity.sex}">checked</c:if>/>
				<label class="radio" for="sex1">男</label>
				 <input id="sex2" type="radio" value="false" name="sex" <c:if test="${!entity.sex}">checked</c:if>/>
				<label class="radio" for="sex2">女</label>
				</div>
					</div>
					
					
					<div class="forminput">
					<label class="form-label" >职位</label>
				<form:input path="pisition" cssClass="form-field half fl"   />
					</div>
					
					<div class="forminput">
					<label class="form-label" > 电话</label>
				<form:input path="mophone" cssClass="form-field half fl"   />
					</div>
					<div class="forminput">
					<label class="form-label" > 工作电话</label>
				<form:input path="workPhone" cssClass="form-field half fl" />
					</div>
					<div class="forminput">
					<label class="form-label" >家庭电话</label>
				<form:input path="homePhone" cssClass="form-field half fl" />
					</div>
					<div class="forminput">
					<label class="form-label">办公地址</label>
				<form:input path="workAddress" cssClass="form-field full fl" />
				
					</div>
					<div class="forminput">
					<label class="form-label" >电子邮件</label>
				<form:input path="email" cssClass="form-field half fl" />
					</div>
					
					<div class="forminput">
					<label class="form-label">使用状态</label>
				<div class="radiocheck">
				<input id="status1" type="radio" value="true" name="status" <c:if test="${entity.status}">checked</c:if>/>
				<label class="radio" for="status1">正常</label>
				 <input id="status2" type="radio" value="false" name="status" <c:if test="${!entity.status}">checked</c:if>/>
				<label class="radio" for="status2">停用</label>
		        </div>
		        	</div>
					 
					 
					
					 <input type="hidden" name="contactsInfo.qq" value="123"/>
				<div class="clear"></div>
				<hr />
				<div style="clear: both; height: 36px;">
					<ul style="float: right;">
						<li style="float: left;"><input id="cancel" class="button themed" type="button" value="取 消" name="cancel" /></li>
						<li style="float: left;"><input id="validate"	class="button themed" type="submit" value="保 存" name="submit" /></li>
					</ul>
				</div>
			</div>

	</div>
</div>
 
		</form:form>
<%@ include file="/common/foot.jsp"%>


